package Leo.fileIO;

import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

@Service("fileUpload")
public interface FileUpload {

    public long uploadFile(MultipartFile file,String path,String suffix) throws IOException;

    public long uploadFile(List<MultipartFile> files, String path) throws IOException;

}
